package com.swing.sky.common.basic;
import java.util.List;

public interface BasicService<T> {
    int insert(T t);
    int deleteById(Long id);
    int batchDeleteByIds(Long[] ids);
    int update(T t);
    T getById(Long id);
    List<T> listByCondition(T t, String beginTime, String endTime);
}